package com.example.demo.pojo.Accounts;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

@Data
@Entity

public class UserFundAccounts {
    @Id
    @TableId(type = IdType.AUTO)
    private int id;

    private int userAccountId; // 账户ID


    private int userId; // 用户ID


    private String userBankAccount; // 银行账户


    private BigDecimal userTotalAsset; // 总资产


    private BigDecimal availableFund; // 可用资金


}
